<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>淘宝网,淘宝商城(天猫)最新优惠信息,精选皇冠店铺,秋冬新款商品_易购GO</title>
<meta name="description" content="去淘宝商城(天猫),淘宝网购物,易购GO为您推荐淘宝最新优惠信息,为您精准定位商品的最低价格。" />
<meta name="keywords" content="淘宝网,淘宝商城,天猫商城,优惠,皇冠,秋冬新款" />
<script src="http://a.tbcdn.cn/apps/top/x/sdk.js?appkey=12307845"></script>
</head>

<body>
<div style="text-align: center;margin-top: 100px;font-size: 12px;">页面跳转中...</div>
</body>
</html>

<!-- JS -->
<script type="text/javascript">
var iId = "<{$id}>";
var code = "e35go<{$uId}>";

///
TOP.api('rest', 'get', 
	{
		method: 'taobao.taobaoke.widget.items.convert',
		fields: 'click_url',
		num_iids: iId,
		outer_code: code
	}, function(resp) {
		var url = "";
		if (resp.error_response) {
			alert('taobao.taobaoke.widget.items.convert: '+resp.error_response.msg);
		} else {
			if (resp.total_results > 0) {
				var list = resp.taobaoke_items.taobaoke_item;
				url = list[0].click_url;
			}
		}
		if (url == "") {
			url = 'http://s.click.taobao.com/t_9?p=mm_26200035_0_0&l='+ encodeURIComponent('http://item.tmall.com/item.htm?id=') + iId +'&u='+ code;
		}
		///
		document.location.href = url;
	}
);
</script>
